package top.bug.blog.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.bug.blog.common.BasePO;

/**
 * @author <a href="https://github.com/jiusi66">九思.</a>
 * @email 10837907@qq.com
 * @from <a href="https://www.52bug.top">递归茶馆-www.52bug.top</a>
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_album")
@ApiModel("相册信息实体")
public class Album extends BasePO {
    @ApiModelProperty("相册名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("相册封面")
    @TableField("pic_url")
    private String picUrl;

    @ApiModelProperty("描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("排序值")
    @TableField("order_num")
    private Integer orderNum;

    @ApiModelProperty("状态")
    @TableField("status")
    private String status;

    @ApiModelProperty("照片数量")
    @TableField("img_count")
    private Integer imgCount;
}